to handle buttonClick go to page "Main" end buttonClick